package com.spdzen.support;

import java.io.Serializable;

public class PageOffsetParam implements Serializable {
	private static final long serialVersionUID = -2220828926679269140L;

	/**
	 * 偏移量，从0开始
	 */
	private int offset = 0;
	
	/**
	 * 每页返回的数据量
	 */
	private int limit = SimplePage.DEFAULT_PAGE_SIZE;
			
	public int getOffset() {
		return offset;
	}
	
	public void setOffset(int offset) {
		this.offset = offset;
	}
	
	public int getLimit() {
		return limit;
	}
	
	public void setLimit(int limit) {
		this.limit = limit;
	}
}
